This notebook checks for the presence of necessary python modules and other dependencies.
In [1]:
import os
import numpy as np
import scipy as sci
import skimage as sk
import matplotlib as mp
print 'Numpy: %s' % np.__version__
print 'Scipy: %s' % sci.__version__
print 'Scikit-Image: %s' % sk.__version__
print 'Matplotlib: %s' % mp.__version__
In [5]:
list_to_check = []
# imagemagick
list_to_check.append('/usr/bin/convert')
list_to_check.append('/usr/bin/composite')
# avconv
list_to_check.append('/usr/bin/avconv')
# FIJI
list_to_check.append('/home/vagrant/Fiji.app/fiji-linux64')
# itk-based compiled binaries
list_to_check.append('/vagrant/bin/')
# folders where data may end up
list_to_check.append('/data/reconstruction/')
for l in list_to_check:
if not os.path.exists(l):
print 'missing : %s' % l
else:
print 'found : %s' % l
In [ ]: